package chapter01;

import java.util.Scanner;

public class Test18_prime {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int number = scanner.nextInt();
        int i = 2;
        boolean flag = false;
        while(i<number){
            if (number % i == 0){
                flag = true;
                break;
            }
            i++;
        }
        if(!flag){
            System.out.println("是素数");
        }else{
            System.out.println("是和数");
        }
    }
}
